html,
body {
  user-select: none;
}
.cc-msg {
  position: fixed;
  z-index: 2;
  width: 12rem;
  height: 4rem;
  box-shadow: 0 0 10px #fff;
  background-color: chocolate;
  top: 30%;
  left: 50%;
  margin-top: -6rem;
  margin-left: -2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 120%;
  font-weight: bold;
}
.cc-wrapper {
  background: #223;
  width: 100%;
  height: 100%;
  transition: all 400ms linear;
}
.cc-playground div {
  position: absolute;
}
.cc-power {
  position: absolute;
  width: 2.4rem;
  height: 1.2rem;
  background: rgba(255, 255, 2, 0.85);
  border: 0.01rem solid #fff;
}
.cc-power div {
  border-left: 0.1rem solid #fff;
  border-right: 0.1rem solid #fff;
  width: 0.8rem;
  height: 1.2rem;
  position: relative;
  left: 0.8rem;
}
.cc-line {
  height: 0.05rem;
  background-color: #d0d0d0;
  border: 0.01rem solid #fff;
  box-shadow: 0 0 1rem #fff;
}
.cc-switch .cc-switch-line {
  width: 2.35rem;
  height: 0.2rem;
  background-color: lightcoral;
  transform: rotate(-3deg);
  transform-origin: left;
}
.cc-switch .cc-switch-before,
.cc-switch .cc-switch-after {
  width: 0.5rem;
  height: 0.5rem;
  background-color: lightcoral;
}
.cc-switch .cc-switch-after {
  position: relative;
  left: 2rem;
}
.cc-switch-off .cc-switch-line {
  width: 2.1rem;
  transform: rotate(-23deg);
  transform-origin: left;
}
.cc-bulb {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 100%;
  background-color: gray;
  border: 0.01rem solid #000;
}
.cc-bulb-on {
  background-color: lightpink;
  border: 0.01rem solid pink;
  box-shadow: 0 0 1rem #fff;
}
.cc-resistance {
  width: 3rem;
  height: 1.2rem;
  background-color: gray;
  border: 0.01rem solid #000;
}
.cc-resistance-blink {
  background-color: goldenrod;
  animation: blink-resistance 500ms infinite;
}
.cc-electron {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 100%;
  animation-duration: 2000ms;
  animation-iteration-count: infinite;
}
.cc-icon {
  width: 3rem;
  height: 3rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.cc-heart {
  background-image: url("../assets/heart.png");
}
.cc-heart-on {
  background-image: url("../assets/heart-on.png");
}
.cc-tree {
  background-image: url("../assets/tree.png");
}
.cc-tree-on {
  background-image: url("../assets/tree-on.png");
}
